<?php
require_once('./TVInterface.php');
class TValidate_len extends TValidate inplement TVInterface
{
	public function act($val,$arg){
		$len = strlen($val);
		$res = ($arg['min'] <= $len && $len <= $arg['max'])? true : false;
		return $res;
	}
}
